<meta meta="首页BANNER配置" args="data"/>
<style>

</style>
<div>
	<form id="form" s-data="data" s="valid,datac,nda" class="m-b-xs form-inline">
		绑定广告位：
		<select name="advSpaceId" class="form-control" s="select"
				s-valid-error="require()"
				s-build="S.get('/api/adv-space/list')">
			<option value="">选择广告位</option>
		</select>
	</form>
</div>
<script type="text/javascript">
  S.getContent = function () {
    var deferred = $.Deferred();
    $form.validate().done(function () {
      var obj = Smart.serializeToObject($form.node);
      deferred.resolve(obj)
    })
    return deferred;
  }
</script>